#ifndef DATASTRUCTURES_H
#define DATASTRUCTURES_H

#include <QtCore>
#include <QIcon>

struct AboutPlugin
{
	QString Description;
	QString Name;
	QString Hosting;
	QString HostingUrl;
	QString Author;
	QString email;
	QString version;
	QString CmdlParameter; // cmdline parameter, that force usage of this this plugin. No '--' there.
	QIcon	icon;
};

struct ImageToUpload
{
	QString ImageName;
	QString mimeType;
	qint64  size;
	int index;
	QIODevice *Image;
//	QProgressBar *ProgressBar;
//	bool Gui; // if FALSE then commandline processing
};

struct UploadResult
{
	bool success;
	bool canceled;
	QString errorString;
	int index;
	qint64 size;
	QString ImageName;
	QUrl Thumb;
	QUrl Image;
	QUrl ImageHtml;
	QUrl SessionHtml; // different hostings, different  features
	QUrl CommonHtml; // My be, gallery or something...
};
#endif // DATASTRUCTURES_H
